<?php
/**
 * Purchase.php
 * Author: luoji (867404364@qq.com)
 * Date: 2020-12-22
 * Time: 11:45
 */

namespace App\Tables;


class Purchase extends Base
{
    public function details()
    {
        return $this->hasMany(PurchaseDetail::class, 'pid', 'id');
    }
}